import React, { lazy, Suspense } from 'react';
import { useNavigate } from 'react-router-dom';

const App: React.FC<any> = () => {
  const navigate = useNavigate()
  setTimeout(() => {
    goRouter()
  }, 1000)
  function goRouter() {
    navigate('/login')
  }
  return (
    <div className='app' >
      505没有权限
    </div>
  )
}

export default App;
